﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Discount.aspx.cs" Inherits="HTComics.Web.Admin.Discount" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../Css/jquery-ui-1.8.18.custom.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/jquery-ui-1.8.18.custom.min.js" type="text/javascript"></script>

    <script type="text/javascript">
        $(document).ready(doOnLoad);

        function doOnLoad() {
            $("#MainContent_btnUpdate").button();
            $("#btnAdminHome").button().click(function () { window.location = "Home.aspx"; return false; });
        }

        function success() {
            $("#divOK").dialog({
                title: "Success",
                modal: true,
                height: 'auto',
                width: 'auto',
                position: ['center', 'middle']
            });
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Heading" runat="server">
Discount
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
            <div class="section">
                <span class="header">
                    Price Guide Listing
                </span>

            <div class="content">      
            
                <table width="100%">
                <tr>
                    <td width="30%" class="labelBold" style="font-size:16px;">Discount</td>
                    <td><input type="text" runat="server" class="textfield" id="txtFactor" value=""/></td>                    
                </tr>
                <tr>
                    <td class="labelBold"  style="font-size:16px;">Enabled</td>
                    <td><input type="checkbox" runat="server" class="textfield" id="chkEnabled" value=""/></td>                
                </tr>
                <tr>
                    <td class="labelBold"  style="font-size:16px;">Last Updated</td>
                    <td>
                        <asp:Label ID="lblLastUpdated" runat="server" Text=""></asp:Label></td>                
                </tr>

                </table>          

                <p align="center">
                    <asp:Button ID="btnUpdate" runat="server" Text="Update" 
                        onclick="btnUpdate_Click" />
                    <button id="btnAdminHome">Admin Home</button>
                </p>
            </div>
            </div>

            <div id="divOK" style="display:none;">
                Settings have been updated
            </div>
</asp:Content>
